package de.tayrracer.geoobjects;

import java.awt.Color;

public abstract class BaseObject {
	public class Ray{
		public double[] position = {0.0,0.0,0.0};
		public Color rayColor;
	}
	protected double[] position = {0.0,0.0,0.0};
	protected Color objectColor;
	protected double mirrorPercentage = 0;
	
	public double[] getPosition() {
		return position;
	}

	public void setPosition(double[] position) {
		this.position = position;
	}

	public Color getObjectColor() {
		return objectColor;
	}

	public void setObjectColor(Color objectColor) {
		this.objectColor = objectColor;
	}
	
	public double getMirrorPercentage() {
		return mirrorPercentage;
	}

	public void setMirrorPercentage(double mirrorPercentage) {
		this.mirrorPercentage = mirrorPercentage;
	}
	
	@SuppressWarnings("unused")
	private double[] isCut(double[] origin, double[] direction){
		
		return null;
	}
	
	public Ray getColorForCut(double[] origin, double[] direction, BaseObject[] objects, int count){
		return null;
	}
}